$OpenBSD: patch-third_party_protobuf_src_google_protobuf_stubs_strutil_h,v 1.4 2017/04/19 05:16:47 robert Exp $
--- third_party/protobuf/src/google/protobuf/stubs/strutil.h.orig.port	Wed Jul 20 21:03:44 2016
+++ third_party/protobuf/src/google/protobuf/stubs/strutil.h	Thu Jul 21 10:25:32 2016
@@ -371,13 +371,13 @@ inline uint32 strtou32(const char *nptr, char **endptr
 inline int64 strto64(const char *nptr, char **endptr, int base) {
   GOOGLE_COMPILE_ASSERT(sizeof(int64) == sizeof(long long),
                         sizeof_int64_is_not_sizeof_long_long);
-  return strtoll(nptr, endptr, base);
+  return std::strtoll(nptr, endptr, base);
 }
 
 inline uint64 strtou64(const char *nptr, char **endptr, int base) {
   GOOGLE_COMPILE_ASSERT(sizeof(uint64) == sizeof(unsigned long long),
                         sizeof_uint64_is_not_sizeof_long_long);
-  return strtoull(nptr, endptr, base);
+  return std::strtoull(nptr, endptr, base);
 }
 
 // ----------------------------------------------------------------------
